<?php
$sendTo = "prashanthans@oviam.com";
$subject = $_POST["txtCategory"];

$headers = "From: Inquiry <prashanthans@oviam.com>\r\n";
$headers .= "Reply-To:" . $_POST["txtEmail"] . "\r\n";
$headers .= "Return-path: " . $_POST["txtEmail"];

$body = $_POST["txtMessage"] . "\r\n\n";
$body .= $_POST["txtEmail"] . "\r\n";
$body .= $_POST["txtName"] . "\r\n";
$body .= $_POST["txtComp"];

ini_set("SMTP", "mail.oviam.com");
ini_set("sendmail_from", "prashanthans@oviam.com"); 
mail($sendTo, $subject, $body, $headers);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Welcome to Oviam, Business Process Management, Application Development, Application Maintenance and Support, Testing Services</title>
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<script type="text/javascript" src="js/main.js"></script>
</head>
<body style="overflow-x:hidden" onload="MM_preloadImages('images/tabHomeOv.jpg','images/tabAboutOv.jpg','images/tabSolutionsOv.jpg','images/tabServicesOv.jpg','images/tabContOv.jpg','images/tabTecOv.jpg')">
<table width="949" border="0" cellpadding="0" cellspacing="0" align="center" id="mainTable">
    <!--DWLayoutTable-->
    <tr>
        <td height="23" valign="top"><img src="images/header.jpg" width="949" height="128" /></td>
    </tr>
    <tr>
        <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                <!--DWLayoutTable-->
                <tr>
                    <td width="150" valign="top"><a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','images/tabHomeOv.jpg',1)"><img src="images/tabHome.jpg" name="Image5" width="150" height="29" border="0" id="Image5" /></a></td>
                    <td width="160" valign="top"><a href="about.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image6','','images/tabAboutOv.jpg',1)"><img src="images/tabAbout.jpg" name="Image6" width="160" height="29" border="0" id="Image6" /></a></td>
                    <td width="160" valign="top"><a href="solutions.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image7','','images/tabSolutionsOv.jpg',1)"><img src="images/tabSolutions.jpg" name="Image7" width="160" height="29" border="0" id="Image7" /></a></td>
                    <td width="160" valign="top"><a href="services.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image8','','images/tabServicesOv.jpg',1)"><img src="images/tabServices.jpg" name="Image8" width="160" height="29" border="0" id="Image8" /></a></td>
                    <td width="159" valign="top"><a href="technology.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image10','','images/tabTecOv.jpg',1)"><img src="images/tabTec.jpg" name="Image10" width="159" height="29" border="0" id="Image10" /></a></td>
                    <td width="160" valign="top"><img src="images/tabContOv.jpg" name="Image9" width="160" height="29" border="0" id="Image9" /></td>
                </tr>
            </table></td>
    </tr>
    <tr>
        <td><table cellpadding="0" cellspacing="20" width="100%">
                <tr>
                    <td valign="top" width="206"><table cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <td valign="top" colspan="3" style="padding-right:1px;"><img src="images/exploreTitle.jpg" /> </td>
                            </tr>
                            <tr>
                                <td valign="top" class="leftTab"><img src="images/spacer.gif" /></td>
                                <td valign="top" style="padding-top:5px"><table cellpadding="0" cellspacing="0" width="100%" class="leftMenu">
                                        <tr>
                                            <td><img src="images/menuLeft.jpg" /></td>
                                            <td width="100%"><a href="contact.html">Genaral</a></td>
                                        </tr>
                                        <tr>
                                            <td><img src="images/menuLeft.jpg" /></td>
                                            <td><a href="contact-partners.html">Become a Partner</a></td>
                                        </tr>
                                    </table></td>
                                <td valign="top" class="rightTab"><img src="images/spacer.gif" /></td>
                            </tr>
                            <tr>
                                <td valign="top"><img src="images/leftBot.jpg" /> </td>
                                <td valign="top" align="center" class="botTab"><img src="images/botSmall.jpg" /> </td>
                                <td valign="top"><img src="images/rightBot.jpg" /> </td>
                            </tr>
                        </table>
                        <img src="images/cont.jpg" /> </td>
                    <td valign="top" width="100%"><table cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <td valign="top"><img src="images/leftTop.jpg" /> </td>
                                <td valign="top" align="center" class="topTab"><img src="images/spacer.gif" /> </td>
                                <td valign="top"><img src="images/rightTop.jpg" /> </td>
                            </tr>
                            <tr>
                                <td valign="top" class="leftTab"><img src="images/spacer.gif" /></td>
                                <td valign="top" style="padding-top:5px"><table cellpadding="0" cellspacing="0" width="100%">
                                        <tr>
                                            <td valign="top"><div style="padding:20px 0px 10px 15px"><img src="images/titleContact.jpg"></div>
                                                
                                                <div style="line-height:16px;padding:0px 0px 10px 15px"> Your message has been sent successfully! <br />
                                                    <br />
                                                    <form onsubmit="return custValidator()" action="mail.php">
                                                        <table cellpadding="0" cellspacing="0" width="100%">
                                                            <tr>
                                                                <td valign="top" height="25" class="caption">Your Name :</td>
                                                                <td valign="top"><input type="text" name="txtName" style="width:240px;" class="txtBox"></td>
                                                            </tr>
                                                            <tr>
                                                                <td height="25" valign="top" class="caption">Your Company :</td>
                                                                <td valign="top"><input type="text" name="txtComp" style="width:240px;" class="txtBox"></td>
                                                            </tr>
                                                            <tr>
                                                                <td height="25" valign="top" class="caption">Your Email :</td>
                                                                <td valign="top"><input type="text" name="txtEmail" style="width:240px;" class="txtBox"></td>
                                                            </tr>
                                                            <tr>
                                                                <td height="25" valign="top" class="caption">Subject :</td>
                                                                <td valign="top"><input type="text" name="txtCategory" style="width:240px;" class="txtBox">
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td height="95" valign="top" class="caption">Message :</td>
                                                                <td valign="top"><textarea name="txtMessage"  style="width:240px; height:85px" class="txtBox"></textarea></td>
                                                            </tr>
                                                            <tr>
                                                                <td height="25"></td>
                                                                <td><input type="submit" value="send" class="btnGenaral">
                                                                    &nbsp;
                                                                    <input type="reset" value="reset" class="btnGenaral"></td>
                                                            </tr>
                                                        </table>
                                                    </form>
                                                </div></td>
                                        </tr>
                                    </table></td>
                                <td valign="top" class="rightTab"><img src="images/spacer.gif" /></td>
                            </tr>
                            <tr>
                                <td valign="top"><img src="images/leftBot.jpg" /> </td>
                                <td valign="top" align="center" class="botTab"><img src="images/botBig.jpg" /> </td>
                                <td valign="top"><img src="images/rightBot.jpg" /> </td>
                            </tr>
                        </table>
                        <img src="images/spacer.gif" width="384" height="1" /></td>
                    <td valign="top" width="100%"><!--<table cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <td valign="top"><img src="images/leftTop.jpg" /> </td>
                                <td valign="top" align="center" class="topTab"><img src="images/spacer.gif" /> </td>
                                <td valign="top"><img src="images/rightTop.jpg" /> </td>
                            </tr>
                            <tr>
                                <td valign="top" class="leftTab"><img src="images/spacer.gif" /></td>
                                <td valign="top"><table cellpadding="0" cellspacing="0" width="100%">
                                        <tr>
                                            <td height="100" valign="top"-->
                        <div style="width:200px">
                            <table cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td valign="top"><div class="accHeader">
                                            <table cellpadding="0" cellspacing="0" width="100%">
                                                <tr>
                                                    <td><strong>UK Office</strong></td>
                                                    <td align="right"><img src="images/flagUK.jpg"></td>
                                                </tr>
                                            </table>
                                        </div>
                                        <div class="accContent accBorder">
                                            <table cellpadding="0" cellspacing="0" width="100%">
                                                <tr>
                                                    <td width="100%" style="line-height:16px;">
                                                        Flat 9, Littleworth Road <br />
                                                        Highwycombe, Buckinghamshire, HP13 5XF<br />
                                                        United Kingdom<br />
                                                        <img src="images/spacer.gif" width="50" height="5px"><br />
                                                        <strong>Tel: </strong>+44 11 58715691<br />
                                                    </td>
                                                </tr>
                                            </table>
                                        </div></td>
                                </tr>
                            </table>
                            <br />
                            <table cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td valign="top"><div class="accHeader">
                                            <table cellpadding="0" cellspacing="0" width="100%">
                                                <tr>
                                                    <td><strong>Sri Lankan Office</strong></td>
                                                    <td align="right"><img src="images/flagSL.jpg"></td>
                                                </tr>
                                            </table>
                                        </div>
                                        <div class="accContent accBorder">
                                            <table cellpadding="0" cellspacing="0" width="100%">
                                                <tr>
                                                    <td width="100%" style="line-height:16px;">
                                                       	No. 6 - M1<br />
                                                        I.B.C. Road<br />
                                                        Colombo 06<br />
                                                        Sri Lanka<br />                                                        
                                                        <img src="images/spacer.gif" width="50" height="5px"><br />
                                                        <strong>Tel: </strong>+94 77 7481584<br />
                                                    </td>
                                                </tr>
                                            </table>
                                        </div></td>
                                </tr>
                            </table>
                        </div>
                        <!--/td>
                                        </tr>
                                    </table></td>
                                <td valign="top" class="rightTab"><img src="images/spacer.gif" /></td>
                            </tr>
                            <tr>
                                <td valign="top"><img src="images/leftBot.jpg" /> </td>
                                <td valign="top" align="center" class="botTab"><img src="images/botBig.jpg" /> </td>
                                <td valign="top"><img src="images/rightBot.jpg" /> </td>
                            </tr>
                        </table--></td>
                </tr>
            </table></td>
    </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%" >
    <tr>
        <td height="16" valign="top" class="footer"><a href="index.html">Home</a> | <a href="about.html">About Us </a>| <a href="solutions.html">Solutions </a>| <a href="services.html">Services</a>| <a href="contact.html">Contact Us</a> <br />
            © All rights reserved</td>
    </tr>
</table>
<script type="text/javascript">
	if(navigator.appName == 'Netscape')
	{
		document.getElementById("mainTable").style.position = 'relative';
		document.getElementById("mainTable").style.left= (document.body.clientWidth - 949)/2+'px';
	}
	
</script>
</body>
</html>

